﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp9
{
    class NameSport:IComparer<Student>
    {
        public int Compare(Student a,Student b)
        {
            return a.Name.CompareTo(b.Name);
        }
    }
}
